/**
 * Copyright (C) 2010-2025 Structr GmbH
 *
 * This file is part of Structr <http://structr.org>.
 *
 * Structr is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * Structr is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Structr.  If not, see <http://www.gnu.org/licenses/>.
 */
#security {
	height: 100%;
	margin-bottom: 0;
}

#securityTabs {
	height: calc(100% - 2rem);
	border: none;
	background: none;
}

#security .tab-content {
	padding: 2rem 1.75rem;
	height: calc(100% - 4rem);
	overflow: auto;
}

#usersAndGroups-inner {
	display: flex;
	max-height: 100%;
}

#usersAndGroups #users,
#usersAndGroups #groups {
	padding: 0;
	display: flex;
	flex-direction: column;
}

#usersAndGroups #users {
	margin-right: 6rem;
}

#users-list,
#groups-list {
	flex-grow: 1;
	max-width: 27.5rem;
	overflow-y: auto;
	margin-top: 1rem;
}

.node-container {
	height: 2.5rem;
	align-content: center;
}

.user .typeIcon {
	margin-left: 20px !important;
}

.security-module-table {
	/*display: block;*/
	margin: 1rem 0;
	width: 100%;
}

.security-module-table tbody tr:hover {
	background-color: var(--structr-light-green-transparent) ! important;
}

.security-module-table td, .security-module-table th {
	padding: .5rem;
	text-align: center;
	vertical-align: middle;
	height: 1rem;
	white-space: nowrap;
}

.security-module-table td input {
	/*min-width: 4rem;*/
}

.security-module-table th.pr-12, .security-module-table td.pr-12 {
	padding-right: 3rem;
}

.security-module-table .title-cell {
	text-align: left;
	padding-right: 0;
}

.security-module-table .title-cell input {
	padding-right: 0;
}

.security-module-table .actions {
	white-space: nowrap;
}

.security-module-table tr:nth-child(odd) {
	background: var(--light-gray-bg-f7) ! important;
}

.security-module-table tr:nth-child(even) {
	background: var(--solid-white) ! important;
}

.security-module-table th {
	background: var(--input-background);
	color: var(--gray-333);
	vertical-align: top;
}

.security-module-table td {
	position: relative;
}

#resourceAccessesPager, #corsSettingsPager {
	text-align: left;
	/*min-width: 24rem;*/
}

input.bitmask {
	text-align: right;
	width: calc(100% - 2rem);
}

.acl-resource-access {
	margin-right: 1rem;
}